/*
 * @Author: zrb
 * @Date: 2024-01-25 10:10:07
 * @LastEditTime: 2024-01-25 10:10:10
 * @LastEditors: zrb
 */
import { createApp } from 'vue'
import router from './routers/router'
import App from './App.vue'
import ElementPlus from 'element-plus'
import './my.css'
import 'element-plus/dist/index.css'

// 如果使用了图标库
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)

// 注册所有图标（可选）
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.use(router).use(ElementPlus, { size: 'default', zIndex: 3000 })
app.mount('#app')
